﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="TinTucND.aspx.cs" Inherits="TinTucND" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>
        <asp:Literal runat="server" ID="littieude"></asp:Literal>
        |
        <%= Common.home %></title>
    <script type="text/javascript" src="../fmslideshow_assets/jquery-1.6.2.min.js"></script>
    <link href="../CSS/template.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:HiddenField ID="H_CatalogId" Value="0" runat="server" />
    <asp:HiddenField ID="H_SubTin" Value="0" runat="server" />
    <asp:HiddenField ID="H_LoaiTin" Value="0" runat="server" />
    <asp:HiddenField ID="H_AnhDaiDien" Value="" runat="server" />
    <asp:HiddenField ID="H_TieuDe" Value="" runat="server" />
    <asp:HiddenField ID="H_IdThich" Value="0" runat="server" />
    <asp:HiddenField ID="H_FileName" Value="" runat="server" />
    <asp:Panel ID="panelnhom" runat="server">
        <span class="path_chude">
            <asp:HyperLink ID="Hyperlink13" CssClass="icon_sub" runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink>
        </span><span class="path_chude">
            <asp:HyperLink ID="Hyperlink2" CssClass="icon_sub" runat="server" NavigateUrl="#">
                <asp:Label ID="lblNhomTintop" runat="server" Text=""></asp:Label>
            </asp:HyperLink></span> <span class="path_chude">
                <asp:HyperLink ID="Hyperlink3" CssClass="icon_sub" runat="server" NavigateUrl="#">
                    <asp:Label ID="lblSubNhomTin" runat="server" Text=""></asp:Label>
                </asp:HyperLink></span></asp:Panel>
    <asp:Panel ID="panelnhom2" runat="server">
        <span class="path_chude">
            <asp:HyperLink ID="Hyperlink1" CssClass="icon_sub" runat="server" NavigateUrl="~/">Trang chủ</asp:HyperLink>
        </span><span class="path_chude">
            <asp:HyperLink ID="Hyperlink5" CssClass="icon_sub" runat="server" NavigateUrl="#">
                <asp:Label ID="lblsubnhom2" runat="server" Text=""></asp:Label>
            </asp:HyperLink></span></asp:Panel>
    <div class="detail_content">
        <div class="detail_content_top">
            <span class="detail_new_date">
                <asp:Label ID="lblNgayCapNhat" runat="server" Text="Label"></asp:Label> | 
                <b>Lượt xem : </b>
                <asp:Label runat="server" ID="lbLuotxem"></asp:Label>
            </span>
            <p class="icon_public">
                <!-- AddThis Button BEGIN -->
                <asp:ImageButton ID="facebook" CausesValidation="false" ImageUrl="~/Images/button_facebook.png"
                    runat="server" OnClick="cmdFacebook_Click" />
                <asp:ImageButton ID="twiter" CausesValidation="false" ImageUrl="~/Images/button_fw.png"
                    runat="server" OnClick="cmdTwiter_Click" />
                <asp:ImageButton ID="yahoo" CausesValidation="false" ImageUrl="~/Images/button_yahoo.png"
                    runat="server" OnClick="cmdYahoo_Click" />
                <asp:ImageButton ID="email" CausesValidation="false" ImageUrl="~/Images/button_mail.png"
                    runat="server" OnClick="cmdEmail_Click" />
                <asp:ImageButton ID="ImageButton1" CausesValidation="false" ImageUrl="~/Images/button_zing.png"
                    runat="server" OnClick="cmdZing_Click" />
                <asp:ImageButton ID="ImageButton2" CausesValidation="false" ImageUrl="~/Images/button_print.png"
                    runat="server" OnClick="cmdIn_Click" />
                <!-- AddThis Button END -->
            </p>
        </div>
        <div class="detail_content_mid">
            <div class="detail_content_mid_content">
                <div class="detail_new">
                    <asp:Panel ID="Panel1" runat="server">
                        <h3 class="title_detail_new">
                            <asp:HyperLink ID="LienKet1" runat="server" NavigateUrl="#">
                                <asp:Label ID="lblTieuDeTin" runat="server" Text=""></asp:Label></asp:HyperLink></h3>
                        <p class="detail_new_tomtat">
                            <asp:Label ID="lblTomTat" runat="server" Text=""></asp:Label></p>
                        <div class="detail_new_lienquan">
                            <ul>
                                <li>
                                    <asp:DataList ID="dlTinTuc1ld" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
                                        Width="100%">
                                        <ItemTemplate>
                                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td style="padding-left: 20px">
                                                        <asp:HyperLink ID="TieuDeTin" NavigateUrl='<%#"~/tintuc/" + Eval("Id") + "_" + GetTieuDe(Eval("TieuDe")) + ".aspx"%>'
                                                            runat="server"><%# Eval("TieuDe") %></asp:HyperLink>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                    </asp:DataList>
                                </li>
                            </ul>
                        </div>
                        <div class="detail_new_chitiet" style="text-align: justify">
                            <asp:Label ID="lblNoiDungTin" CssClass="text_content" runat="server" Text=""></asp:Label>
                        </div>
                    </asp:Panel>
                    <div style="float: left">
                        <div style="float: left; clear: both;" class="detail_content_like_small">
                            <div class="fb-like" style="float: left" data-href='<%# GetLienKet() + "/tintuc/" + Eval("Id") + "_" + GetTieuDe(Eval("TieuDe")) + ".aspx"%>'
                                data-send="false" data-layout="button_count" data-width="50" data-show-faces="false"
                                data-font="arial">
                            </div>
                        </div>
                    </div>
                </div>
                <!--End #detail_new-->
                <div class="form_comment">
                    <div class="comment">
                        <div class="fb-comments" data-href='<%=Common.sPathUpLienKet+ HttpContext.Current.Request.Url.AbsolutePath.ToString()%>'
                            data-width="590" data-num-posts="10">
                        </div>
                    </div>
                </div>
                <!--End #form_comment-->
                <div class="user_comment_khung">
                    <!--End #user_comment_right-->
                    <div class="tinlienquan">
                        <div class="tinlienquan_mid">
                            <span class="tinlienquan_label">Tin tức liên quan:</span>
                            <p class="user_comment_gachngang">
                            </p>
                            <ul>
                                <li>
                                    <asp:DataList ID="dlLoaiTinTuc" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
                                        Width="100%">
                                        <ItemTemplate>
                                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td style="padding-left: 20px">
                                                        <asp:HyperLink ID="TieuDeTin" NavigateUrl='<%#"~/tintuc/" + Eval("Id") + "_" + GetTieuDe(Eval("TieuDe")) + ".aspx"%>'
                                                            runat="server"><%# Eval("TieuDe") %></asp:HyperLink>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                    </asp:DataList></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <!--End #detail_content_mid_content-->
            </div>
            <!--End #detail_content_mid-->
            <div class="detail_content_bottom">
            </div>
        </div>
        <!--End #content-->
    </div>
</asp:Content>
